package com.py.credit.entity;

import com.py.framework.core.entity.BaseEntity;

import java.sql.Timestamp;

/**
 * 信用评价前台网站用户实体
 *
 * @author Leegern
 * @date 2018年4月25日
 */
public class GatewayUserEntity extends BaseEntity {

    /**
     * 序列号
     */
    private static final long serialVersionUID = -4987016056992225698L;
    
    private long id;
    /**
     * 用户名
     **/
    private String username;

    /**
     * 密码
     **/
    private String password;

    /**
     * 手机号码
     **/
    private String sjhm;

    /**
     * 资质文件
     */
    private String zjwj;

    /**
     * 身份证文件正面
     */
    private String sfzwj_front;

    /**
     * 身份证文件反面
     */
    private String sfzwj_back;

    /**
     * 主体名称
     */
    private String ztmc;

    /**
     * 编码
     */
    private String bm;

    /**
     * 电子邮箱
     */
    private String dzyx;

    /**
     * 联系人
     */
    private String lxr;

    /**
     * 审核状态 S:审核中 U:驳回 T:审核通过
     */
    private String shzt;

    /**
     * D:冻结 J :解锁
     */
    private String zhzt;

    /**
     * 审核时间
     */
    private Timestamp shsj;

    /**
     * 注册类型 C:法人 P：自然人
     */
    private String type;

    /**
     * 文件夹名称
     *
     * @return
     */
    private String dirPath;

    /**
     * 法定代表人
     */
    private String fddbr;
    /**
     * 法定代表人证件号码
     */
    private String fddbrzjhm;

    private Double creditScore;

    private String creditRank;

    private String icon;

    private String tybm;
    
    private String shType;
    
 
    
	public String getFddbrzjhm() {
		return fddbrzjhm;
	}

	public void setFddbrzjhm(String fddbrzjhm) {
		this.fddbrzjhm = fddbrzjhm;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSjhm() {
        return sjhm;
    }

    public void setSjhm(String sjhm) {
        this.sjhm = sjhm;
    }

    public String getZjwj() {
        return zjwj;
    }

    public void setZjwj(String zjwj) {
        this.zjwj = zjwj;
    }

    public String getSfzwj_front() {
        return sfzwj_front;
    }

    public void setSfzwj_front(String sfzwj_front) {
        this.sfzwj_front = sfzwj_front;
    }

    public String getSfzwj_back() {
        return sfzwj_back;
    }

    public void setSfzwj_back(String sfzwj_back) {
        this.sfzwj_back = sfzwj_back;
    }

    public String getZtmc() {
        return ztmc;
    }

    public void setZtmc(String ztmc) {
        this.ztmc = ztmc;
    }

    public String getBm() {
        return bm;
    }

    public void setBm(String bm) {
        this.bm = bm;
    }

    public String getDzyx() {
        return dzyx;
    }

    public void setDzyx(String dzyx) {
        this.dzyx = dzyx;
    }

    public String getLxr() {
        return lxr;
    }

    public void setLxr(String lxr) {
        this.lxr = lxr;
    }

    public String getShzt() {
        return shzt;
    }

    public void setShzt(String shzt) {
        this.shzt = shzt;
    }

    public String getZhzt() {
        return zhzt;
    }

    public void setZhzt(String zhzt) {
        this.zhzt = zhzt;
    }

    public Timestamp getShsj() {
        return shsj;
    }

    public void setShsj(Timestamp shsj) {
        this.shsj = shsj;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDirPath() {
        return dirPath;
    }

    public void setDirPath(String dirPath) {
        this.dirPath = dirPath;
    }

    public String getFddbr() {
        return fddbr;
    }

    public void setFddbr(String fddbr) {
        this.fddbr = fddbr;
    }

    public Double getCreditScore() {
        return creditScore;
    }

    public void setCreditScore(Double creditScore) {
        this.creditScore = creditScore;
    }

    public String getCreditRank() {
        return creditRank;
    }

    public void setCreditRank(String creditRank) {
        this.creditRank = creditRank;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getTybm() {
        return tybm;
    }

    public void setTybm(String tybm) {
        this.tybm = tybm;
    }

    public GatewayUserEntity() {

    }
    
    

    public String getShType() {
		return shType;
	}

	public void setShType(String shType) {
		this.shType = shType;
	}

	public GatewayUserEntity(String username, String password, String sjhm, String ztmc, String bm, String dzyx, String lxr, String type, String fddbr,String fddbrzjhm, String tybm) {
        this.username = username;
        this.password = password;
        this.sjhm = sjhm;
        this.ztmc = ztmc;
        this.bm = bm;
        this.dzyx = dzyx;
        this.lxr = lxr;
        this.type = type;
        this.fddbr = fddbr;
        this.fddbrzjhm = fddbrzjhm;
        this.tybm = tybm;
    }

	@Override
	public String toString() {
		return "GatewayUserEntity [id=" + id + ", username=" + username + ", password=" + password + ", sjhm=" + sjhm
				+ ", zjwj=" + zjwj + ", sfzwj_front=" + sfzwj_front + ", sfzwj_back=" + sfzwj_back + ", ztmc=" + ztmc
				+ ", bm=" + bm + ", dzyx=" + dzyx + ", lxr=" + lxr + ", shzt=" + shzt + ", zhzt=" + zhzt + ", shsj="
				+ shsj + ", type=" + type + ", dirPath=" + dirPath + ", fddbr=" + fddbr + ", creditScore=" + creditScore
				+ ", creditRank=" + creditRank + ", icon=" + icon + ", tybm=" + tybm + ", shType=" + shType + "]";
	}
	
	
}